package com.guiguli.array;

public class array01 {
    public static void main(String[] args) {
        int[] arr1=new int[]{11,12,13,14};//完整写法
        int[] arr2={11,12,13,14};         //简写
        for(var i:arr2){
            System.out.println(i);
        }
        String[] arr3=new String[]{"归故里","杀你","流弊"};
        for (var s : arr3) {     //增强for
            System.out.println(s);
        }
    }
}
